package com.abysscore.yachtdesign;

import java.util.Vector;

public class TFreeHydrostaticsData {
    public T3DCoordinate ModelMin;
    public T3DCoordinate ModelMax;        // Min/max coordinates under given heelingangle and trim
    public T3DCoordinate WlMin;
    public T3DCoordinate WlMax;        // Min/max coordinates of the waterline
    public T3DCoordinate SubMin;
    public T3DCoordinate SubMax;        // Min/max extents of the submerged body
    public T3DPlane WaterlinePlane;
    public double AbsoluteDraft;           // Depth of the lowest point of the hull beneath the waterplane
            // The following properties are always calculated
    public double Volume;           // Displaced volume of the hull
    public double Displacement;           // Displacement
    public T3DCoordinate CenterOfBuoyancy;        // Center of gravity of displaced volume
    public double LCBPerc;
    public double LengthWaterline;
    public double BeamWaterline;
    public double BlockCoefficient;           // BlockCoefficient
    public double WettedSurface;
    public T3DCoordinate Leak;        // Coordinate encountered where the ship is making water
            // Mainframe properties
    public double Mainframearea;
    public T3DCoordinate MainFrameCOG;
    public double MainframeCoeff;
            // Waterplane properties
    public double Waterplanearea;
    public T3DCoordinate WaterplaneCOG;
    public double WaterplaneEntranceAngle;
    public double WaterplaneCoeff;
    public T2DCoordinate WaterplaneMomInertia;
            // Stability data
    public double KMtransverse;
    public double KMlongitudinal;
            // Lateral area and center
    public double LateralArea;
    public T3DCoordinate LateralCOG;

            // Prismatic coefficient
    public double PrismCoefficient;           // Prismatic coefficient
    public double VertPrismCoefficient;
            // Sectional areas
    public Vector<T2DCoordinate> SAC;
}
